Platform Explorer / Nuxeo Platform 2021.24

Component org.nuxeo.theme.services.ThemeService

Documentation

Compat registration of theme service

Requirements

Aliases

  • org.nuxeo.theme.jsf
  • org.nuxeo.theme.nuxeo.default
  • org.nuxeo.theme.core
  • org.nuxeo.theme.fragments
  • org.nuxeo.theme.html

Resolution Order

885
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

900
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.theme.migration.service.ThemeMigrationService

Extension Points

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.theme.services.ThemeService">
  <documentation>Compat registration of theme service</documentation>

  <require>org.nuxeo.ecm.platform.WebResources</require>
  <require>org.nuxeo.theme.nuxeo.webapp</require>

  <!-- compat aliases for old components that might still be required -->
  <alias>org.nuxeo.theme.core</alias>
  <alias>org.nuxeo.theme.fragments</alias>
  <alias>org.nuxeo.theme.html</alias>
  <alias>org.nuxeo.theme.jsf</alias>
  <alias>org.nuxeo.theme.nuxeo.default</alias>

  <implementation class="org.nuxeo.theme.migration.service.ThemeMigrationService" />

  <extension-point name="registries">
    <object class="org.nuxeo.theme.migration.service.descriptors.RegistryType" />
  </extension-point>

  <extension-point name="elements">
    <object class="org.nuxeo.theme.migration.service.descriptors.ElementType" />
  </extension-point>

  <extension-point name="fragments">
    <object class="org.nuxeo.theme.migration.service.descriptors.FragmentType" />
  </extension-point>

  <extension-point name="models">
    <object class="org.nuxeo.theme.migration.service.descriptors.ModelType" />
  </extension-point>

  <extension-point name="formats">
    <object class="org.nuxeo.theme.migration.service.descriptors.FormatType" />
  </extension-point>

  <extension-point name="format-filters">
    <object class="org.nuxeo.theme.migration.service.descriptors.FormatFilterType" />
  </extension-point>

  <extension-point name="standalone-filters">
    <object class="org.nuxeo.theme.migration.service.descriptors.StandaloneFilterType" />
  </extension-point>

  <extension-point name="resources">
    <object class="org.nuxeo.ecm.web.resources.core.ResourceDescriptor" />
    <object class="org.nuxeo.theme.migration.service.descriptors.BankImport" />
  </extension-point>

  <extension-point name="views">
    <object class="org.nuxeo.theme.migration.service.descriptors.ViewType" />
  </extension-point>

  <extension-point name="engines">
    <object class="org.nuxeo.theme.migration.service.descriptors.EngineType" />
  </extension-point>

  <extension-point name="template-engines">
    <object class="org.nuxeo.theme.migration.service.descriptors.TemplateEngineType" />
  </extension-point>

  <extension-point name="negotiations">
    <object class="org.nuxeo.theme.migration.service.descriptors.NegotiationType" />
  </extension-point>

  <extension-point name="themes">
    <object class="org.nuxeo.theme.migration.service.descriptors.ThemeDescriptor" />
  </extension-point>

  <extension-point name="themesets">
    <object class="org.nuxeo.theme.migration.service.descriptors.ThemeSet" />
  </extension-point>

  <extension-point name="perspectives">
    <object class="org.nuxeo.theme.migration.service.descriptors.PerspectiveType" />
  </extension-point>

  <extension-point name="applications">
    <object class="org.nuxeo.theme.migration.service.descriptors.ApplicationType" />
  </extension-point>

  <extension-point name="shortcuts">
    <object class="org.nuxeo.theme.migration.service.descriptors.ShortcutType" />
  </extension-point>

  <extension-point name="presets">
    <object class="org.nuxeo.theme.migration.service.descriptors.PaletteType" />
  </extension-point>

  <extension-point name="vocabularies">
    <object class="org.nuxeo.theme.migration.service.descriptors.VocabularyType" />
  </extension-point>

  <extension-point name="banks">
    <object class="org.nuxeo.theme.migration.service.descriptors.ResourceBank" />
  </extension-point>

  <extension target="org.nuxeo.theme.styling.service" point="negotiations">
    <negotiation target="jsfThemeCompatTemplate">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage"
        order="100">
        <property name="jsfThemeCompatTemplate">/pages/workspace_page.xhtml</property>
      </negotiator>
    </negotiation>
  </extension>

</component>